import 'package:compass/page/home_page.dart';
import 'package:compass/page/setting_page.dart';
import 'package:flutter/material.dart' hide TabBar;

import 'const.dart';

List<TabBar> tabBar = const <TabBar>[
  TabBar(
    path: '/',
    children: HomePage(title: '天时地利人和'),
    tabBarItem: BottomNavigationBarItem(icon: Icon(Icons.home), label: '智能罗盘'),
  ),
  TabBar(
    path: '/setting',
    children: SettingPage(title: '设置中心'),
    tabBarItem:
        BottomNavigationBarItem(icon: Icon(Icons.settings), label: '设置中心'),
  )
];
